package com.pederszt.foodiary.jdo;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class QuantityType
{
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long quantityTypeId;

	@Persistent()
	private String type;

	public Long getQuantityTypeId()
	{
		return quantityTypeId;
	}

	public void setQuantityTypeId(Long quantityTypeId)
	{
		this.quantityTypeId = quantityTypeId;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

}
